﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;

namespace WebApplication1
{
    /// <summary>
    /// 登陆验证
    /// </summary>
    public class BasicPage:Page
    {
        public virtual void BasicInit()
        {
            var see = Session["UserInfo"];
            if (see ==null || string.IsNullOrEmpty(see.ToString()))
            {
                Response.Redirect("Login.aspx");
            }
        }
    }
}